3.6.0
Options
stop execution on spec failure
stop spec on expectation failure
run tests in random order
hide disabled tests
finished in 11.88s
123 specs, 0 failures
, randomized with seed
42898
UserService
should get Account Balance from the API via GET
should set the current user account Number to be valid
should return the user based on account Number
should return the user based on username and password
should turn 404 error into return of the requested user
should add a user and return it
should turn 404 error into return of the requested loan
should add a loan and return it
should retrieve loans from the API via GET
UpdateComponent
UpdateForm
should make guardian control required
should make address control required
should make bankDetails control required
should be invalid when empty
should make personal control required
should be invalid when even one or more control invalid
should create form with 4 controls
should be valid when all controls valid
should create form
should create
SPEC HAS NO EXPECTATIONS should fail update user via User service on submitting
SPEC HAS NO EXPECTATIONS should update user via User service on submitting
AddressComponent
should make citizenship control required
should pass if countries really exist
should create a form with 4 controls
should make addressLine control required
should make country control required
should make state control required
should fail if countries doesnt exist
should get appropriate state of country
form should be invalid when empty
form should be valid when all controls valid
form should be invalid when even one control invalid
AppComponent
should have as title 'bank-management-system'
should create the app
LoginComponent
should make username control required
should create a login form with 2 controls
should login and navigate user to dashboard
should login and show error message if the server fails
should not login when authserver fails and show wrong credentials
should not login when not in the system and show wrong credentials
should make password control required
form should be invalid when empty
LoanComponent
SPEC HAS NO EXPECTATIONS should call createNewLoan() and post the loan to service
should create loan form with 6 controls
EducationForm
should make occupation control required
should make exp control required
should make currentExp control required
should make income control required
should be invalid when empty
should be invalid when even one or more control invalid
should make fee control required
should make rationCard control required
should be valid when all controls valid
should make name control required
should change interest when loan type changes
should create 3 forms
SPEC HAS NO EXPECTATIONS should call createNewLoan() and log error message if the service fails
should create personal form with 5 controls
should call onSubmit() type personal and navigate to loanDetails
should call onSubmit() type education and navigate to loanDetails
should create
PersonalForm
should be invalid when even one or more control invalid
should make company control required
should make income control required
should make totalExperience control required
should be invalid when empty
should make currentExp control required
should make designation control required
should be valid when all controls valid
should create education form with 7 controls
LoanForm
should make issueDate control required
should make duration control required
should make interest control required
loan form should be invalid when even one control invalid
should make applyDate control required
should make amount control required
should make type control required
loan form should be invalid when empty
loan form should be valid when all controls valid
LoanDetailsComponent
should create
should update loans into the table
PersonalComponent
should make password control required
should make password control required
should make name control required
form should be valid when all controls valid
form should be invalid when empty
form should be invalid when even one control invalid
should make password control required
should make password control required
should make password control required
should make password control required
gender type control should have 2 types
should create a form with 4 controls
marital type control should have 3 types
RegistrationComponent
SPEC HAS NO EXPECTATIONS should call onSubmit()
SPEC HAS NO EXPECTATIONS should call onSubmit() and log error
should create
RegistrationForm
should make guardian control required
should be valid all controls valid
should be invalid when even one or more control invalid
should create form with 6 controls
should make bankDetails control required
should be invalid when empty
should make personal control required
should make address control required
should make username control required
should create form
GuardianComponent
should create a form with 2 controls
should make type control required
form should be invalid when either control invalid
should make name control required
type control should have 3 types
form should be invalid when empty
BankDetailsComponent
should make idProof control required
form should be valid when all controls invalid
should change deposit amount to 0 when account type salary
form should be invalid when empty
should create a form with 4 controls
should make reference control required
account type control should have 2 types
form should be invalid when even one control invalid
should change deposit amount to 5000 when account type savings
should make account control required
Personal
Name
Set password
visibility_off
Email
Date of birth
male
female
Marital Status
Contact Number
Address
e.g 13b,lane 2
Citizenship
Country
Country
State
Guardian
Type
Name
Account
Type
Branch Name
Deposit Amount
Identification type
Identification number
Reference Account Name
Reference Account Number
Reference address
Please set a username
Submit